package com.imau.common;

import lombok.Data;

/**
 * 处理异常：保证系统正常运行结束
 * 给用户反馈信息
 */
@Data
public class BaseException extends Exception {

  //定义属性

    private ResultCode resultCode;

    public BaseException(ResultCode resultCode)
    {
        this.resultCode = resultCode;
    }

}
